package org.dromara.iot.domain.mq;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class SmokeEvent {
    private Date timestamp; // 使用Date类型来存储时间戳
    private Details details;
    private String image; // base64编码的图片字符串

    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Details {
        private String concentration;
    }
}
